//Menu
ddsmoothmenu.init({
    mainmenuid: "menu", //menu DIV id
    orientation: 'h', //Horizontal or vertical menu: Set to "h" or "v"
    classname: 'ddsmoothmenu', //class added to menu's outer DIV
    //customtheme: ["#1c5a80", "#18374a"],
    contentsource: "markup" //"markup" or ["container_id", "path_to_menu_file"]
});

  jQuery(document).ready(function(){
    jQuery('.view-source .hide-source').hide();
    jQuery('.view-source a').toggle(
      function(){
        jQuery(this).siblings('.hide-source').stop(false, true).slideDown(500);
        jQuery(this).html('Свернуть текст');
      },
     function(){
        jQuery(this).siblings('.hide-source').stop(false, true).slideUp(500);
        jQuery(this).html('Развернуть текст');
     }
   );
});


